doctorImport(files) {
        let that = this
        // FormData 对象
        var form = new FormData();
        form.append("file", files.file);// 文件对象
        // XMLHttpRequest 对象
        var xhr = new XMLHttpRequest();
        xhr.timeout = 30000; //设置超时
        xhr.open("post", '/hospital/hosAdmin/doctor/import', true);
        xhr.responseType = "json";
        xhr.onload = function () {
          console.log(xhr.response);
          if (xhr.response.status != 0) {
            console.log(xhr.response.message);
            return false;
          }
          that.$notify({
            title: '成功',
            message: '上传成功',
            type: 'success'
          });
        };
        xhr.ontimeout = function () {
          console.log('数据加载失败，请刷新页面');
        };
        xhr.onerror = function (res) {
          console.log('数据加载失败，请刷新页面');
        };
        xhr.send(form);
      }